/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package schedule_master;

/**
 *
 * @author PGSIST
 */
public class Teacher {
        public String name, dept;
        public int deptnum;
        public String[] periods= new String[8];
        public Teacher(String d){
            for (int a=0;a<periods.length;a++)
                periods[a]="";
            dept=d;
        }
        public Teacher(){
            for (int a=0;a<periods.length;a++)
                periods[a]="";
            dept="";
        }
        public String[] getClasses(){
        return periods;
        }
        public void setClass(String clas, int period){
            periods[period]=clas;
            return;
        }
        public void setDepartment(String d){
            dept=d;
        }
        public void setDeptnum(int dn){
            deptnum=dn;
        
        }
}
